BlePeriph.GetEvents
This command returns all events that have occurred since the
last call of BlePeriph.GetEvents. Events that have
taken place twice (e.g. Write to the same
characteristic) will occur only once in the returned array.
Properties
- Command code: 0x4B06
- Command timeout: 100 ms
- Possible status codes: General status codes
Parameters (request frame)
None
Returned values (response frame)
Name | Type/Size | Description | ||
---|---|---|---|---|
Length of Events | Integer (8 bits) |
Number of elements in the Events array |
||
Events | Array | - | ||
EventId | Enumeration (8 bits) |
Values:
|
||
CharacteristicNdx | Integer (16 bits) | The characteristic that was modifed by the BLE Central. The characteristic is identified by the index within the Characteristics array passed to BlePeriph.DefineService. Only relevant if EventId is Write. |